#include<iostream>
#include<string>
using namespace std;

void test()
{
	string str = "904701846@qq.com";

	int pos = str.find('@');

	string userName = str.substr(0, pos);

	cout << userName << endl;

}


int main()
{
	test();

	system("pause");
	return 0;
}